Cooperation across diversity